
package com.chengyu.eyc.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "eyc_vehicle_ap_price_rule_config")
public class EycVehicleApPriceRuleConfig extends BaseModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "AP_RULE_CONFIG_ID")
    private String apRuleConfigId;

    /**
     * 车辆适用价格规则，来自表eyc_insp_price_rule
     */
    @Column(name = "INSP_PRICE_RULE_ID")
    private String inspPriceRuleId;

    /**
     * 车辆类型
     */
    @Column(name = "VEHICLE_TYPE")
    private String vehicleType;

    /**
     * 适用车辆使用性质
     */
    @Column(name = "USE_CHARACTER")
    private String useCharacter;

    /**
     * 适用车辆能源类型
     */
    @Column(name = "ENERGY")
    private String energy;

    /**
     * 说明
     */
    @Column(name = "REMARK")
    private String remark;

    /**
     * 失效标志
     */
    @Column(name = "IS_ACTIVE")
    private Boolean isActive;

    /**
     * @return AP_RULE_CONFIG_ID
     */
    public String getApRuleConfigId() {
        return apRuleConfigId;
    }

    /**
     * 获取适用车辆能源类型
     *
     * @return ENERGY - 适用车辆能源类型
     */
    public String getEnergy() {
        return energy;
    }

    /**
     * 获取车辆适用价格规则，来自表eyc_insp_price_rule
     *
     * @return INSP_PRICE_RULE_ID - 车辆适用价格规则，来自表eyc_insp_price_rule
     */
    public String getInspPriceRuleId() {
        return inspPriceRuleId;
    }

    /**
     * 获取失效标志
     *
     * @return IS_ACTIVE - 失效标志
     */
    public Boolean getIsActive() {
        return isActive;
    }

    /**
     * 获取说明
     *
     * @return REMARK - 说明
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 获取适用车辆使用性质
     *
     * @return USE_CHARACTER - 适用车辆使用性质
     */
    public String getUseCharacter() {
        return useCharacter;
    }

    /**
     * 获取车辆类型
     *
     * @return VEHICLE_TYPE - 车辆类型
     */
    public String getVehicleType() {
        return vehicleType;
    }

    /**
     * @param apRuleConfigId
     */
    public void setApRuleConfigId(String apRuleConfigId) {
        this.apRuleConfigId = apRuleConfigId == null ? null : apRuleConfigId.trim();
    }

    /**
     * 设置适用车辆能源类型
     *
     * @param energy 适用车辆能源类型
     */
    public void setEnergy(String energy) {
        this.energy = energy == null ? null : energy.trim();
    }

    /**
     * 设置车辆适用价格规则，来自表eyc_insp_price_rule
     *
     * @param inspPriceRuleId 车辆适用价格规则，来自表eyc_insp_price_rule
     */
    public void setInspPriceRuleId(String inspPriceRuleId) {
        this.inspPriceRuleId = inspPriceRuleId == null ? null : inspPriceRuleId.trim();
    }

    /**
     * 设置失效标志
     *
     * @param isActive 失效标志
     */
    public void setIsActive(Boolean isActive) {
        this.isActive = isActive;
    }

    /**
     * 设置说明
     *
     * @param remark 说明
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * 设置适用车辆使用性质
     *
     * @param useCharacter 适用车辆使用性质
     */
    public void setUseCharacter(String useCharacter) {
        this.useCharacter = useCharacter == null ? null : useCharacter.trim();
    }

    /**
     * 设置车辆类型
     *
     * @param vehicleType 车辆类型
     */
    public void setVehicleType(String vehicleType) {
        this.vehicleType = vehicleType == null ? null : vehicleType.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", apRuleConfigId=").append(apRuleConfigId);
        sb.append(", inspPriceRuleId=").append(inspPriceRuleId);
        sb.append(", vehicleType=").append(vehicleType);
        sb.append(", useCharacter=").append(useCharacter);
        sb.append(", energy=").append(energy);
        sb.append(", remark=").append(remark);
        sb.append(", isActive=").append(isActive);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

}